package com.zx.mes.hyl.auth.service.impl;
import com.zx.mes.hyl.auth.dao.SysRepository;
import com.zx.mes.hyl.auth.model.Tsys;
import com.zx.mes.hyl.auth.service.SysServiceI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hyl
 */
@Service
public class SysServiceImpl implements SysServiceI {

    @Autowired
    private SysRepository sysRepository;

    @Override
    public List<Tsys> getSTypeList() {
        return sysRepository.findAll();
    }
}
